package errs

import (
	"errors"
	"fmt"
)

var(	//oauth2
	 ScopeNotFound = errors.New("scope not found!")
	 ClientNotFound = errors.New("clientId not found!")
	 ClientSecretNotFound = errors.New("clientSecret not found!")
	 ClientInvalid  = errors.New("Client invalid!")
	 SupportAuthorize  = errors.New("just supprot password,refreshToken Authorize!")
	 InvalidUsernameOrPassword  = errors.New("invalid username or password!")
	 UserPasswordNotSet  = errors.New("user password not set!")
	 UserNotFound = errors.New("user not found!")

	// MinPasswordLength defines minimum password length
	 MinPasswordLength = 6
	 // ErrPasswordTooShort ...
	 PasswordTooShort = fmt.Errorf(
			"Password must be at least %d characters long",
			MinPasswordLength,
		)

	AccountIsExist  = errors.New("please logon system!")

	TokenHintInvalid= errors.New("just supprot accessTokenTypeHint & refreshTokenTypeHint !")
	TokenNotFound= errors.New("token not found!")

	// ErrAccessTokenNotFound ...
	AccessTokenNotFound = errors.New("Access token not found")
	// ErrAccessTokenExpired ...
	AccessTokenExpired = errors.New("Access token expired")

)



func init() {

}




